<?php if($template->get('bIsAuto')){ ?>
<script type="text/javascript">
    $(document).ready(function(){
       setTimeout(function(){window.location=$('#path').val() + 'admin/addAutoProducts';},1500);
    });
</script>
<?php } ?>
<div class="admin_header_title">AUTO ADD PRODUCT</div>
<?php 
    if($template->get('new_product_uri'))
    {
        echo '<div class="metro_message_susscess"><a href="'.URL::getLink('product/id/'.$template->get('new_product_uri')).'"><i class="fa fa-check"></i> New product '.URL::getLink('product/id/'.$template->get('new_product_uri')).'</a></div>';
    }
?>

